'use strict';

var express = require('express');
var app = express();
var config = require('./config');
var filetest = require('./filetest.js');

app.use(express.static('public'));
app.listen(config.server.port, function (req, res) {

    console.log('Server listening at port %d', config.server.port);
});

app.get('/fuck', function (req, res) {
    var a = new filetest();

    a.getFile(function (data) {
        res.end(data);
    });
});

